#pragma once
#include "BaseMQTTClient.h"
#include <string>

class MQTTPublisher : public BaseMQTTClient {
public:
  MQTTPublisher(const char *host = "localhost",
                const char *client_id = "mqtt_subscriber",
                const char *topic = "test/topic", int qos = 1);

  void publish(const std::string &message);

private:
  std::string default_topic;
  int default_qos;
};
